<?php 

function getComment($serviceID){
  // Define the parameters that will be used
  $foo0 = $serviceID; 

  // Build the system command that will be called
  $cmd='./GetServiceComment.pl '.EscapeShellArg($foo0);

  // Execute the shell command
  $returnval = exec($cmd, $out, $result); 

  $result = $out[0];

    //return output
    if (!($result == "ErrorCode626")) { return($out[0]); }
    else { return; }
}

?>

